package com.skiving.cloud.workflow.api;

import java.util.HashMap;
import java.util.Map;

/**
 * @author hushouquan
 * @since 2024/6/5
 */
public class StrategyParam{
    /**
     * 流程实例ID
     */
    private String processInsId;
    /**
     * 业务ID
     */
    private String businessId;
    /**
     * 发起人
     */
    private String startUserId;
    /**
     * 当前用户
     */
    private String userId;
    /**
     * 任务ID
     */
    private String taskId;
    /**
     * 任务定义编码
     */
    private String taskKey;
    /**
     * 设置全局流程参数
     */
    private Map<String, Object> processVariables = new HashMap<>();
    /**
     * 设置流程任务参数
     */
    private Map<String, Object> taskVariables = new HashMap<>();
    
    public String getProcessInsId(){
        return processInsId;
    }
    
    public void setProcessInsId(String processInsId){
        this.processInsId = processInsId;
    }
    
    public String getBusinessId(){
        return businessId;
    }
    
    public void setBusinessId(String businessId){
        this.businessId = businessId;
    }
    
    public String getStartUserId(){
        return startUserId;
    }
    
    public void setStartUserId(String startUserId){
        this.startUserId = startUserId;
    }
    
    public String getUserId(){
        return userId;
    }
    
    public void setUserId(String userId){
        this.userId = userId;
    }
    
    public String getTaskId(){
        return taskId;
    }
    
    public void setTaskId(String taskId){
        this.taskId = taskId;
    }
    
    public String getTaskKey(){
        return taskKey;
    }
    
    public void setTaskKey(String taskKey){
        this.taskKey = taskKey;
    }
    
    public Map<String, Object> getProcessVariables(){
        return processVariables;
    }
    
    public void setProcessVariables(Map<String, Object> processVariables){
        this.processVariables = processVariables;
    }
    
    public Map<String, Object> getTaskVariables(){
        return taskVariables;
    }
    
    public void setTaskVariables(Map<String, Object> taskVariables){
        this.taskVariables = taskVariables;
    }
}
